package com.encyclopedia.service;

import com.encyclopedia.domain.Plant;
import com.encyclopedia.domain.vo.PlantInfoVo;
import com.encyclopedia.result.JsonRequest;

import java.util.List;

/**
 * @author MaLiang
 * @version 1.0
 * @date 2024-05-04 19:53
 */
public interface ArticleService {
    List<Plant> getInfoArticle();

    PlantInfoVo getArticleById(Integer id);

    int updateArticleById(PlantInfoVo plantInfoVo);

    JsonRequest deleteArticleById(Integer ids);
}
